/*//. abstract class OpenAL 
  ../ Mostly a namespace for constants and 'global' functions dealing with
  ../ the OpenAL Interface. .//*/
  
typedef struct _obj_openal_s {
	zend_object std;
} obj_openal_s;

PHP_METHOD(OpenAL, init);
PHP_METHOD(OpenAL, shutdown);
PHP_METHOD(OpenAL, errorExists);
PHP_METHOD(OpenAL, getListenerGain);
PHP_METHOD(OpenAL, setListenerGain);
PHP_METHOD(OpenAL, getListenerOrientation);
PHP_METHOD(OpenAL, setListenerOrientation);
PHP_METHOD(OpenAL, getListenerPosition);
PHP_METHOD(OpenAL, setListenerPosition);
PHP_METHOD(OpenAL, getListenerVelocity);
PHP_METHOD(OpenAL, setListenerVelocity);

zend_class_entry *openal_ce;
zend_object_handlers obj_openal_handlers;
static zend_function_entry openal_class_functions[] = {
	PHP_ME(OpenAL, init, NULL, (ZEND_ACC_PUBLIC | ZEND_ACC_ALLOW_STATIC))
	PHP_ME(OpenAL, shutdown, NULL, (ZEND_ACC_PUBLIC | ZEND_ACC_ALLOW_STATIC))
	PHP_ME(OpenAL, errorExists, NULL, (ZEND_ACC_PUBLIC | ZEND_ACC_ALLOW_STATIC))
	PHP_ME(OpenAL, setListenerOrientation, NULL, (ZEND_ACC_PUBLIC | ZEND_ACC_ALLOW_STATIC))
	PHP_ME(OpenAL, getListenerOrientation, NULL, (ZEND_ACC_PUBLIC | ZEND_ACC_ALLOW_STATIC))
	PHP_ME(OpenAL, setListenerPosition, NULL, (ZEND_ACC_PUBLIC | ZEND_ACC_ALLOW_STATIC))
	PHP_ME(OpenAL, getListenerPosition, NULL, (ZEND_ACC_PUBLIC | ZEND_ACC_ALLOW_STATIC))
	PHP_ME(OpenAL, getListenerVelocity, NULL, (ZEND_ACC_PUBLIC | ZEND_ACC_ALLOW_STATIC))
	PHP_ME(OpenAL, setListenerVelocity, NULL, (ZEND_ACC_PUBLIC | ZEND_ACC_ALLOW_STATIC))
	PHP_ME(OpenAL, getListenerGain, NULL, (ZEND_ACC_PUBLIC | ZEND_ACC_ALLOW_STATIC))
	PHP_ME(OpenAL, setListenerGain, NULL, (ZEND_ACC_PUBLIC | ZEND_ACC_ALLOW_STATIC))
	{NULL, NULL, NULL}
};
